package com.richest.api.service;

import java.util.List;
import java.util.Map;

import com.richest.bean.CommodityRawMaterialBean;

/**
 * 商品和原材料关联信息管理服务接口
 * 
 * @author 杨博
 * @version richest-api 2.0
 *
 */
public interface ICommodityRawMaterialService {
	Integer commodityRawMaterialAdd(CommodityRawMaterialBean bean);

	Integer commodityRawMaterialUpdate(CommodityRawMaterialBean bean);

	Integer commodityRawMaterialDelete(Long id);

	CommodityRawMaterialBean commodityRawMaterialSelectOne(Long id);

	List<Map<String, Object>> commodityRawMaterialSelectMap(Map<String, Object> params);
}
